x86/traps: Make nmi_show_execution_state() more useful
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Aug 2022 17:25:55 +0000 (18:25 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 17 Aug 2022 11:50:48 +0000 (12:50 +0100)
commit0f2611c524385f7bffeee67635a488a5a29b6ba4
tree480bced7825ff37a55b86bb90a91dd9a640dcf9d
parent283abca2997141ea780fc86ca9524b1d837243d3
x86/traps: Make nmi_show_execution_state() more useful

 * Always emit current.  It's critically important.
 * Do not render (0000000000000000) for the symbol in guest context.  It's
   just line-noise.  Instead, explicitly identify which Xen vs guest context.
 * Try to tabulate the data, because there is often lots of it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c